@extends('layouts.admin_master')
@section('content')
    <div class="alert alert-danger alert-dismissible mb-2" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">×</span>
        </button>
        <h4 class="alert-heading mb-2">友情提示!</h4>
        <p>修改后的密码一定要记住.</p>
        <p>新密码和确认密码要相同,并且位数不能少于<strong style="font-size: 40px;">6</strong>位.</p>
        <p>新密码不能和就密码相同!!修改成功后需要重新登录.</p>
    </div>
    <form action="{{route('adminuser.changePassword')}}" method="post">
        @csrf
        <div class="card">
            <div class="card-header">
                <h2>修改密码</h2>
            </div>
            <div class="card-body">
                <div class="form-group">
                    <label for="">新密码</label>
                    <input type="password" name="password" class="form-control" placeholder="" aria-describedby="helpId">
                </div>
                <div class="form-group">
                    <label for="">确认密码</label>
                    <input type="password" name="password_confirmation" class="form-control" placeholder="" aria-describedby="helpId">
                </div>
            </div>
            <div class="card-footer text-muted">
                <button type="submit" class="btn btn-block btn-bg-gradient-x-purple-blue">确认修改</button>
            </div>
        </div>
    </form>


@endsection
